package com.parenting.response;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.parenting.util.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CouponListResponse对象", description="用于优惠券列表展示")
public class CouponListResponse implements Serializable {

    @ApiModelProperty(value = "ID")
    @TableId(value = "COUPON_ID", type = IdType.AUTO)
    private String couponId;

    @ApiModelProperty(value = "优惠券名称")
    private String couponName;

    @ApiModelProperty(value = "优惠券类型")
    private String couponType;

    @ApiModelProperty(value = "优惠程度（满减券代表满多少，代金券代表实际付款金额）")
    private Integer fulls;

    @ApiModelProperty(value = "优惠程度（满减券代表减多少，代金券代表实际金额）")
    private Integer reduce;

    @ApiModelProperty(value = "优惠程度（立减金额）")
    private Integer verticalReduction;

    @ApiModelProperty(value = "优惠券数量")
    private int total;

    @ApiModelProperty(value = "领用数量")
    private int receivingAmount;

    @ApiModelProperty(value = "使用数量")
    private int  quantityUsed;

    @ApiModelProperty(value = "失效数量")
    private int failureQuantity;





}
